package com.example.demo0331.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class Goods {
    @TableId(type = IdType.AUTO)
    private int id;
    private int shopId;
    private String name;
    private String price;
    @TableField(exist = false)
    private Shop shop;
}
